#ifndef __VIDEO_GETXY_H__
#define __VIDEO_GETXY_H__

#include <types.h>

/**
 *  getxy()
 *  zjisti v jakem radku (x) a sloupci (y) se nachazi textovy kurzor
 */
void getxy(int *x, int *y) {
  asm mov ah, 3;
  asm xor bh, bh;
  asm int 0x10;

  *x = _DH;
  *y = _DL;
  return;
}
#endif
